package com.bf.electroplating.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bf.electroplating.pojo.dto.contingency.ContingencySpaceFacilityDTO;
import com.bf.electroplating.pojo.dto.contingency.ContingencySpaceFacilityQueryDTO;
import com.bf.electroplating.pojo.entity.ComContingencySpaceFacility;
import com.bf.electroplating.pojo.vo.ResultVO;
import com.bf.electroplating.pojo.vo.contingency.ContingencySpaceFacilityVO;

import java.util.List;

/**
 * @author 15451
 * @description 针对表【com_contingency_space_facility(应急空间设施表)】的数据库操作Service
 * @createDate 2025-05-09 11:11:32
 */
public interface ComContingencySpaceFacilityService extends IService < ComContingencySpaceFacility > {


	/**
	 * 分页查询应急空间与设施列表
	 *
	 * @param queryDTO 查询条件
	 * @return 分页结果
	 */
	ResultVO < Page < ContingencySpaceFacilityVO > > pageList ( ContingencySpaceFacilityQueryDTO queryDTO );

	/**
	 * 新增、编辑应急空间与设施
	 *
	 * @param dto 应急空间与设施信息
	 * @return 操作结果
	 */
	ResultVO < String > saveData ( ContingencySpaceFacilityDTO dto );

	/**
	 * 删除应急空间与设施
	 *
	 * @param ids ID列表
	 * @return 操作结果
	 */
	ResultVO < String > delete ( List < String > ids );

	/**
	 * 获取应急空间与设施详情
	 *
	 * @param id ID
	 * @return 应急空间与设施详情
	 */
	ResultVO < ContingencySpaceFacilityVO > getDetail ( String id );

}
